package scsys.mapper;

import scsys.pojo.Course;
import scsys.pojo.Elective;
import java.util.List;
public interface ElectiveMapper {
    /**
     * 单查询
     * @return user
     */
    Elective selectOne(Elective elective);
    /**
     * 多查询
     */
    List<Elective> selectMore(Elective elective);
    /**
     * 添加数据
     * @param
     */
    void add(Elective elective);
    /**
     * 查询所有
     */
    List<Elective> selectAll();
    /**
     * 删除
     */
    void deleteElective(Elective elective);
}
